package com.shop.cereshop.app.param.pet;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.time.LocalDate;

@Data
@ApiModel(value = "PetInfoDTO", description = "更新宠物信息DTO")
@Accessors(chain = true)
public class PetInfoDTO {
    @ApiModelProperty("宠物ID")
    private Long petId;

    @ApiModelProperty("宠物品种ID")
    private Long petBreedId;

    @ApiModelProperty("用户id")
    private Long buyerUserId;

    @ApiModelProperty(value = "宠物种类类型(1-狗狗，2-猫咪，3-鸟类，4-爬行类，5-水族，6-其他)", required = true)
    @NotNull
    private Integer petType;

    @ApiModelProperty(value = "宠物名称")
    private String petName;

    @ApiModelProperty("宠物生日")
    private LocalDate petBirthday;

    @ApiModelProperty("性别(雄性,雌性)")
    private Integer petGender;

    @ApiModelProperty("宠物头像")
    private String petAvatar;

    @ApiModelProperty("是否已绝育(0-否，1-是，2-未知)")
    private Integer neutered;

    @ApiModelProperty("特殊时期(0-非特殊时期，1-哺乳期,2-孕期,3-发情期)")
    private Integer specialPeriod;

    @ApiModelProperty("是否接种疫苗(0-未接种，1-已经接种)")
    private Integer vaccinated;
}
